package com.jurassic.demo.core;

/**
 * @Author pan_jin
 * @Description: $
 * @Date: 2022/7/13 14:39
 * @Version: 1.0.0
 * @Slogan: 梦想还是要有的万一实现了呢
 */
public enum WeekDay {
    MON(1, "周一"), TUE(2, "周二"), WED(3, "周三"), THU(4, "周四"), FRI(5, "周五"),
    SAT(6, "周六"), SUN(0, "周日");
    public final int dayValue;
    private final String chineseName;

    private WeekDay(int dayValue, String chineseName) {
        this.dayValue = dayValue;
        this.chineseName = chineseName;
    }

    public int getDayValue() {
        return dayValue;
    }

    public String getChineseName() {
        return chineseName;
    }

    @Override
    public String toString() {
        return this.chineseName;
    }
}
